
import { getCityDistrictCountyInfoList } from "@/api/api";

// 监管风险等级
export const jianGuanFengXian = [
    { "value": "A", "label": "A" },
    { "value": "B", "label": "B" },
    { "value": "C", "label": "C" },
    { "value": "D", "label": "D" },
]
// 所属领域
export const belongDomain = [
    { "value": "集贸市场", "label": "集贸市场" },
    { "value": "商店(超市)", "label": "商店(超市)" },
    { "value": "餐饮企业", "label": "餐饮企业" },
    { "value": "医疗机构", "label": "医疗机构" },
    { "value": "加油站", "label": "加油站" },
    { "value": "眼镜店", "label": "眼镜店" },
    { "value": "小商户", "label": "小商户" },
]

const resCity = await getCityDistrictCountyInfoList();
export const cityList = resCity.data.data.map(item => {
  return {
    value: item.areaCode,
    label: item.areaName
  }
})